#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int compare(int* a, int* b)
{
	int* x = a;
	int* y = b;
	return *x - *y;
}
int main()
{
	int arr[10] = { 98,12,87,4,65,23,54,33,48,78 };
	size_t n = (sizeof(arr) / sizeof(int));
	qsort(arr, n,sizeof(arr[0]), compare);
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", arr[i]);
	}


}